package com.paul.sys.mapper;

import com.paul.sys.model.PublishparkInfo;
import com.paul.sys.tools.CommPageBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by 羽 on 2015/12/29.
 */
public interface PublishparkInfoMapper {
    List<PublishparkInfo> listByPage(@Param("param") Map<String, String> param, @Param("page") CommPageBean pageBean);
    List<PublishparkInfo> listAll(@Param("param") Map<String, String> paramAll, @Param("page") CommPageBean pageBean);

    int insertPublish(PublishparkInfo publishparkInfo);

    List<PublishparkInfo> selectAuthority(@Param("param") Map<String, Object> param);

    PublishparkInfo selectByPrimaryKey(String id);

    int updateByPublishMessage(PublishparkInfo publishparkInfo);

    int deleteByIds(String[] ids);



}
